<html><head>

<script>
function runTest() {
    var dcont = document.getElementById("dcont");

    var e = document.createElement('frameset');
    var span = document.createElement('span');
    e.appendChild(span);
    dcont.appendChild(e);
}

</script>
</head><body onload="runTest()" style="overflow:hidden;">
<div>This tests that putting an inline element (such as a span) inside of an element doesn't cause an assertion failure.</div>
<div id="dcont">
</div>

</body></html>
